package com.project.service;

import com.project.entity.Product;
import dev.langchain4j.service.UserMessage;

/**
 * @Author: zhoujinchuan
 * @Description: （）
 * @Date: 2025/2/26 11:29
 */
public interface ProductExtractor {

    /**
     * 提取产品内容
     * @param text
     * @return
     */
    @UserMessage("Extract information about a product from {{it}},If there is no product related information in the conversation, return an empty object")
    Product extractProduct(String text);

}
